import request from '/@/utils/request';
export function rodesideApi(){
    return {
        getTableListApi:(params:object)=>{
            return request({
                url: '/api/admin/roadside/rsus',
                method: 'get',
                params,
            });
        },
        getRsmApi:(params:object)=>{
            return request({
                url: '/api/admin/roadside/rsu/rsms',
                method: 'get',
                params,
            });
        },
        getSpatApi:(params:object)=>{
            return request({
                url: '/api/admin/roadside/rsu/spats',
                method: 'get',
                params,
            });
        },
        getBsmApi:(params:object)=>{
            return request({
                url: '/api/admin/roadside/rsu/bsms',
                method: 'get',
                params,
            });
        },
        getRsiApi:(params:object)=>{
            return request({
                url: '/api/admin/roadside/rsu/rsis',
                method: 'get',
                params,
            });
        },
    }
}